package org.metasketch.simulator.resources;

import java.util.ArrayList;
import java.util.List;

public class ResourceClass extends ResourceBase {

	List<ResourceBase> resources = new ArrayList<ResourceBase>();

	public List<ResourceBase> getResources() {
		return resources;
	}

	public void setResources(List<ResourceBase> resources) {
		this.resources = resources;
	}

	public void addResource(ResourceBase child) {
		if (!resources.contains(child))
			resources.add(child);

	}

}
